package com.zxa.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by zxa on 17-7-22.
 */
public class Product implements Serializable
{
    private static final long serialVersionUID = 1L;
    private int id;
    private String proName;
    private String productDes;
    private double price;
    private Date createTime;
    private String image;


    public int getId()
    {
        return id;
    }

    public void setId(int id)
    {
        this.id = id;
    }

    public Product(int id, String name, String productDes, double price, Date createTime, String image)
    {
        this.id = id;

        proName = name;
        this.productDes = productDes;
        this.price = price;
        this.createTime = createTime;
        this.image = image;
    }

    public Date getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    public String getImage()
    {
        return image;
    }

    public void setImage(String image)
    {
        this.image = image;
    }

    public Product()
    {
    }

    public String getProName()
    {
        return proName;
    }

    public void setProName(String name)
    {
        proName = name;
    }

    public String getProductDes()
    {
        return productDes;
    }

    public void setProductDes(String productDes)
    {
        this.productDes = productDes;
    }

    public double getPrice()
    {
        return price;
    }

    public void setPrice(double price)
    {
        this.price = price;
    }
}
